<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8" />

        <title>轮播图列表</title>

        <link href="__PUBLIC__/css/mine.css" type="text/css" rel="stylesheet" />
    </head>
    <body>
        <style>
            .tr_color{background-color: #9F88FF}
        </style>
        <div class="div_head">
            <span>
                <span style="float: left;">当前位置是：前台管理->轮播图列表</span>
                <span style="float: right; margin-right: 8px; font-weight: bold;">
                    <a style="text-decoration: none;" href="__CONTROLLER__/add" target="_self">【添加轮播图】</a>
                </span>
            </span>
        </div>
        <div></div>
        <div class="div_search">
            <span>
                <form action="#" method="get">
                    品牌<select name="s_product_mark" style="width: 100px;">
                        <option selected="selected" value="0">请选择</option>
                        <option value="1"></option>
                    </select>
                    <input value="查询" type="submit" />
                </form>
            </span>
        </div>
        <div style="font-size: 13px; margin: 10px 5px;">
            <table class="table_a" border="1" width="100%">
                <tbody>
                    <tr style="font-weight: bold;">
                        <td>序号</td>
                        <td>轮播图名称</td>
<!--                        <td>库存</td>-->
                        <!--<td>价格</td>-->
                        <td>图片</td>
                        <td>缩略图</td>
                        <!--<td>品牌</td>-->
                        <td>创建时间</td>
                        <td align="center" colspan="2">操作</td>
                    </tr>
                <foreach name="pic" item="p">
                    <tr id="product1">
                        <td>{$p['pid']}</td>
                        <td><a href="#">{$p['p_name']}</a></td>
                        <td><img src="{$p['thumb_img']}" height="100" width="100"></td>
                        <td><img src="{$p['thumb_img']}" height="50" width="50"></td>
                        <td><?php echo (date("Y-m-d",$p['add_time']))?></td>
                        <td><a href="__CONTROLLER__/xiugai">修改</a></td>
                        <td><a href="javascript:;" onclick="delete_product(1)">删除</a></td>
                    </tr>
                    </foreach>    
                   
                    <tr>
                        <td colspan="20" style="text-align: center;">
                            [1]
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </body>
</html>